package com.thinkcube.edutainment.domain.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PaymentData implements Parcelable {

	@JsonProperty("dailyPrice")
	String dailyPrice;
	@JsonProperty("weeklyPrice")
	String weeklyPrice;
	@JsonProperty("monthlyPrice")
	String monthlyPrice;
	@JsonProperty("dailyInstallment")
	String dailyInstallment;
	@JsonProperty("weeklyInstallment")
	String weeklyInstallment;
	@JsonProperty("monthlyInstallment")
	String monthlyInstallment;

	public String getDailyPrice() {
		return this.dailyPrice;
	}

	public void setDailyPrice(String dailyPrice) {
		this.dailyPrice = dailyPrice;
	}

	public String getWeeklyPrice() {
		return this.weeklyPrice;
	}

	public void setWeeklyPrice(String weeklyPrice) {
		this.weeklyPrice = weeklyPrice;
	}

	public String getMonthlyPrice() {
		return this.monthlyPrice;
	}

	public void setMonthlyPrice(String monthlyPrice) {
		this.monthlyPrice = monthlyPrice;
	}

	public String getDailyInstallment() {
		return this.dailyInstallment;
	}

	public void setDailyInstallment(String dailyInstallment) {
		this.dailyInstallment = dailyInstallment;
	}

	public String getWeeklyInstallment() {
		return this.weeklyInstallment;
	}

	public void setWeeklyInstallment(String weeklyInstallment) {
		this.weeklyInstallment = weeklyInstallment;
	}

	public String getMonthlyInstallment() {
		return this.monthlyInstallment;
	}

	public void setMonthlyInstallment(String monthlyInstallment) {
		this.monthlyInstallment = monthlyInstallment;
	}

	protected PaymentData(Parcel in) {
		dailyPrice = in.readString();
		weeklyPrice = in.readString();
		monthlyPrice = in.readString();
		dailyInstallment = in.readString();
		weeklyInstallment = in.readString();
		monthlyInstallment = in.readString();
	}

	public PaymentData() {
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(dailyPrice);
		dest.writeString(weeklyPrice);
		dest.writeString(monthlyPrice);
		dest.writeString(dailyInstallment);
		dest.writeString(weeklyInstallment);
		dest.writeString(monthlyInstallment);
	}

	public static final Parcelable.Creator<PaymentData> CREATOR = new Parcelable.Creator<PaymentData>() {
		public PaymentData createFromParcel(Parcel in) {
			return new PaymentData(in);
		}

		public PaymentData[] newArray(int size) {
			return new PaymentData[size];
		}
	};
}
